﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;

/// <summary>
/// LogicLayer 的摘要说明
/// </summary>
/// 
public class LogicLayer
{
	public LogicLayer()
	{
		//
		// TODO: 在此处添加构造函数逻辑
		//
        
	}
    private IOperateDB OperateDB = new OperateSQL();
    public SqlDataReader GetDataReader(string sql)
    {
        return OperateDB.GetDataReader(sql);
    }
    public DataSet GetDataSet(string sql)
   {
       return OperateDB.GetDataSet(sql);
   }


    public int ExcuteSQLStatement(string sql)
   {
       return OperateDB.ExcuteSQLStatement(sql);
   }


    public int ExcuteSQLStatement_BJ(string sql)
    {
        return OperateDB.ExcuteSQLStatement_BJ(sql);
    }

    public int ExcuteSQLStatement_SH(string sql)
    {
        return OperateDB.ExcuteSQLStatement_SH(sql);
    }

    public int ExcuteSQLStatement_GZ(string sql)
    {
        return OperateDB.ExcuteSQLStatement_GZ(sql);
    }

    public void ExecuteSQLTransation(params string[] sql)
   {
       OperateDB.ExecuteSQLTransation(sql);
   }
}
